//
//  DaysModel.m
//  littleLight's Project-A
//
//  Created by dllo on 16/5/28.
//  Copyright © 2016年 light. All rights reserved.
//

#import "DaysModel.h"

@implementation DaysModel
- (void)setValue:(id)value forUndefinedKey:(NSString *)key
{
    
}


- (void)setWaypoints:(NSMutableArray *)waypoints
{
    _waypoints = waypoints;
    NSMutableArray *array = [NSMutableArray array];
    for (NSDictionary *dic in waypoints) {
        PictureModel *model = [[PictureModel alloc] init];
        [model setValuesForKeysWithDictionary:dic];
        [array addObject:model];
        
    }
    _waypoints = [NSMutableArray arrayWithArray:array];
    
}


@end
